package com.maxd.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 学生综合测评记录表
 */
@Entity
@Getter
@Setter
@DynamicInsert
@DynamicUpdate
@ApiModel("学生综合测评记录表")
@Table(name = "student_appraisal_rec")
public class StudentAppraisalRec implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty("自增主键")
    @Column(name = "id", nullable = false)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @ApiModelProperty("学员ID")
    @Column(name = "student_id", nullable = false)
    @NotNull
    private Long studentId;

    @Column(name = "age_grades", nullable = false)
    @ApiModelProperty("年龄阶段 A:一至二年级 B:三至四年级 C:五至六年级")
    @NotNull
    private String ageGrades;

    @ApiModelProperty("爱国五问五答成绩")
    @Column(name = "patriotism_qa")
    private String patriotismQa;

    @Column(name = "military_qa")
    @ApiModelProperty("强军五问五答成绩")
    private String militaryQa;

    @ApiModelProperty("30秒跳绳成绩")
    @Column(name = "rope_skipping")
    private String ropeSkipping;

    @Column(name = "run_turning")
    @ApiModelProperty("1分钟折返跑成绩")
    private String runTurning;

    @ApiModelProperty("立定跳远成绩")
    @Column(name = "standing_leap")
    private String standingLeap;

    @Column(name = "sit_reach")
    @ApiModelProperty("坐位体前屈成绩")
    private String sitReach;

    @Column(name = "around_sticks")
    @ApiModelProperty("绕杆跑(5杆间距两米)成绩")
    private String aroundSticks;

    @ApiModelProperty("敏捷梯(10格)成绩")
    @Column(name = "agility_ladder")
    private String agilityLadder;

    @Column(name = "situp")
    @ApiModelProperty("仰卧起坐成绩")
    private String situp;

    @ApiModelProperty("每月参加常规训练次数成绩")
    @Column(name = "regular_training")
    private String regularTraining;

    @ApiModelProperty("每月参加强化训练次数成绩")
    @Column(name = "intensive_training")
    private String intensiveTraining;

    @Column(name = "tidy")
    @ApiModelProperty("每日内务是否整洁成绩")
    private String tidy;

    @Column(name = "dress_clean")
    @ApiModelProperty("每日着装是否干净成绩")
    private String dressClean;

    @Column(name = "politeness")
    @ApiModelProperty("每日礼节是否礼貌成绩")
    private String politeness;

    @ApiModelProperty("创建时间")
    @Column(name = "create_time", nullable = false)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @Column(name = "update_time", nullable = false)
    private Date updateTime;

    @ApiModelProperty("创建人")
    @Column(name = "create_by")
    private String createBy;

    @ApiModelProperty("更新人")
    @Column(name = "update_by")
    private String updateBy;

}
